package com.management.demo.common.enums;

/**
 * 性别枚举
 */
public enum SexEnum {

    MAN(0, "男"),
    WOMAN(1, "女"),
    UN_KNOW(2, "未知");

    private final Integer id;

    private final String sex;

    SexEnum(Integer id, String sex) {
        this.id = id;
        this.sex = sex;
    }

    public Integer getId() {
        return id;
    }

    public String getSex() {
        return sex;
    }
}
